MIRRORED_FROM_REP_DIR := \
	lib/import/import-wireguard.mk \
	lib/mk/spec/arm_v8/wireguard.mk \
	lib/mk/spec/x86_64/wireguard.mk \
	lib/mk/wireguard.inc \
	src/app/wireguard \

content: $(MIRRORED_FROM_REP_DIR)

$(MIRRORED_FROM_REP_DIR):
	$(mirror_from_rep_dir)

MIRROR_FROM_OS := \
	src/server/nic_router/ipv4_address_prefix.cc \
	src/server/nic_router/ipv4_address_prefix.h

content: $(MIRROR_FROM_OS)

$(MIRROR_FROM_OS):
	mkdir -p $(dir $@)
	cp -r $(GENODE_DIR)/repos/os/$@ $@

content: src/lib/musl_tm

src/lib/musl_tm:
	mkdir -p src/lib
	cp -r $(GENODE_DIR)/repos/libports/$@ $@

content: LICENSE
LICENSE:
	( echo "GNU General Public License version 2, see:"; \
	  echo "https://www.kernel.org/pub/linux/kernel/COPYING" ) > $@
